<?php

namespace app\mall\ui\form;

/**
 * 活动管理表单
 */
class MallActForm
{
    public function store_id()
    {
        return [
            'type' => 'number',
            'title' => '门店ID',
            'field' => 'store_id',
        ];
    }

    public function start_time()
    {
        return [
            'type' => 'dateTime',
            'title' => '开始时间',
            'field' => 'start_time',
        ];
    }

    public function end_time()
    {
        return [
            'type' => 'dateTime',
            'title' => '结束时间',
            'field' => 'end_time',
        ];
    }

    public function enable()
    {
        return [
            'type' => 'input',
            'title' => '状态',
            'field' => 'enable',
        ];
    }

    public function create_time()
    {
        return [
            'type' => 'input',
            'title' => '创建时间',
            'field' => 'create_time',
        ];
    }
}